package com.example.base.entity;

import org.springframework.stereotype.Component;

@Component
public class Order {
    private Integer id;
    private Integer submitterId;
    private Integer buildingId;
    private String gender;
    private Integer count;
    private boolean isSuccess;

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", submitterId=" + submitterId +
                ", buildingId=" + buildingId +
                ", gender='" + gender + '\'' +
                ", count=" + count +
                ", isSuccess=" + isSuccess +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSubmitterId() {
        return submitterId;
    }

    public void setSubmitterId(Integer submitterId) {
        this.submitterId = submitterId;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }
}
